Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards
authorJavier Jardón <jjardon@gnome.org>
Mon, 7 Jun 2010 02:39:21 +0000 (04:39 +0200)
committerJavier Jardón <jjardon@gnome.org>
Mon, 7 Jun 2010 02:50:05 +0000 (04:50 +0200)
19 files changed:
gtk/gtkstyle.c
gtk/gtktestutils.c
gtk/gtktypebuiltins.c.template
gtk/tests/defaultvalue.c
gtk/tests/filechooser.c
gtk/tests/floating.c
modules/other/gail/gail.c
modules/other/gail/gailitem.c
modules/other/gail/gaillabel.c
modules/other/gail/gailmenu.c
modules/other/gail/gailtoplevel.c
modules/other/gail/gailwidget.c
modules/other/gail/gailwindow.c
modules/other/gail/tests/ferret.c
modules/other/gail/tests/testcombo.c
tests/testgtk.c
tests/testoffscreen.c
tests/testselection.c
tests/testtext.c

index 8a1c8cc970eb8b53c6880308c0f67ec532d4b547..39085efac805b53b0b1b0067eb90d19496bf44d4 100644 (file)
@@ -31,7 +31,6 @@
 #include <gobject/gvaluecollector.h>
 #include "gtkgc.h"
 #include "gtkmarshalers.h"
-#undef GTK_DISABLE_DEPRECATED
 #include "gtkrc.h"
 #include "gtkspinbutton.h"
 #include "gtkstyle.h"
index 5ea2d1dffc6b9ae78c8947c0f6a340d2f079d654..ab9e267f0ce8ff3510d47f855ee0bb50f14b4cc7 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 /* need to get the prototypes of all get_type functions */
-#define GTK_ENABLE_BROKEN
 #undef GTK_DISABLE_DEPRECATED
 /* Need to get GDK_WINDOW_OBJECT */
 #undef GDK_DISABLE_DEPRECATED
index 648b5db1d0bb2c9aec6a1a8f44b8525165b42e17..e15106e8dcc34e87f749cad63fdc4f63f38bbab1 100644 (file)
@@ -1,6 +1,5 @@
 /*** BEGIN file-header ***/
 #undef GTK_DISABLE_DEPRECATED
-#define GTK_ENABLE_BROKEN
 #include "gtk.h"
 #include "gtkprivate.h"
 #include "gtkalias.h"
index 82b8d35ed2d4b58edb6b2e3c68a9c883dc1e41c1..bab518e48bf24edacee209a2f9e4177230bb8a7f 100644 (file)
@@ -18,8 +18,6 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#undef GTK_DISABLE_DEPRECATED
-#define GTK_ENABLE_BROKEN
 #include <string.h>
 #include <gtk/gtk.h>
 #include <gtk/gtkunixprint.h>
index c1811f3a1821a9bc2b166c6145668c023983ca45..424436cd35aa63bfa80fc60847fe1e2a4be610e3 100644 (file)
@@ -29,8 +29,6 @@
  * - More tests!
  */
 
-#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
-#undef GTK_DISABLE_DEPRECATED
 #define SLEEP_DURATION  100
 
 #include "config.h"
index a8206849decdf027d92fbbef6268297bca67922f..832a4dcc2efec5266021d2734cfaf219a6acb4f4 100644 (file)
@@ -16,8 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#undef GTK_DISABLE_DEPRECATED
-#include "../gtk/gtk.h"
+#include <gtk/gtk.h>
 
 static gboolean destroyed = FALSE;
 static void
index d6cca2bdadf4dbbdf94a0a6ac3708dee52e7de11..bea1e00357f4d17bfe7833ead57d576c1d6b5754 100644 (file)
@@ -22,8 +22,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 #include "gail.h"
 #include "gailfactory.h"
index a5a1489c824bdafd1538f0ab2be7bd58e313fd7e..531710a72480973cbd11a3ebaa5dae07783a676c 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <string.h>
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 #include "gailitem.h"
 #include <libgail-util/gailmisc.h>
index c6d02788b9815812d38e66cd90d885c35edfee21..158a7182030ed3bedfef2d3f9d45be688be4ff41 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <string.h>
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 #include "gaillabel.h"
 #include "gailwindow.h"
index 897bfec4151a47c3cbb4de3a5b1fddc60432c020..0c559ef2d7d7dfed1566d173073d2784c8e0eabc 100644 (file)
@@ -19,8 +19,6 @@
 
 #include "config.h"
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include "gailmenu.h"
 
 static void gail_menu_class_init (GailMenuClass *klass);
index 422b97f38f3165e034c369a145670a719bf5850b..afbd5b366b0834ef6f06dd15fdc6b6b197da715c 100644 (file)
@@ -22,8 +22,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 
 #include "gailtoplevel.h"
index 20b557399070453b3b547df7f131d1c1170ab1e8..c92c3c6663cac3483b1b1b61406b117ee03cd8ea 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <string.h>
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 #ifdef GDK_WINDOWING_X11
 #include <gdk/x11/gdkx.h>
index ac6e8810c888bc372c1f33532e8da0b24e330737..a4947e602026110f16cb0be1c54ecbe802aec041 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <string.h>
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 
 #include "gailwindow.h"
index d6754f263034c24628cdf89ea8a39af0e33ada9f..2dfa914c44f52c264369ed995c5d2caa56e36825 100644 (file)
@@ -1,6 +1,4 @@
 #define MAX_BUFFER 256
-#undef GTK_DISABLE_DEPRECATED
-#define GTK_ENABLE_BROKEN
 #define MAX_GROUPS 20
 #define MAX_NAME_VALUE 20
 
index 4598010ef11c298a72f4f77cc780473668d6ab57..f34a81257766edd9ad74ea5a100e66071e48b045 100644 (file)
@@ -1,5 +1,3 @@
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 #include "testlib.h"
 
index 86ad601173f1ce1c2299503bebc745cf5ca232a9..2f76cacdefd4d7cdfeb4f2f81cc89b0554e1be7b 100644 (file)
@@ -39,7 +39,6 @@
 #include <unistd.h>
 #endif
 
-#define GTK_ENABLE_BROKEN
 #include "gtk/gtk.h"
 #include "gdk/gdk.h"
 #include "gdk/gdkkeysyms.h"
index 646cf7ee624f3b6ae8b398ac8b43c2a49a3a92a7..c29b67c202e497ee60bee668fa20e1369018d3c9 100644 (file)
@@ -2,8 +2,6 @@
  * testoffscreen.c
  */
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <math.h>
 #include <gtk/gtk.h>
 #include "gtkoffscreenbox.h"
index 3e9419241a56d06f3cbd39ec5d7a48bd2340c97b..3af0c9fd4b71e2cd8527db068653b4acb8f6b2e9 100644 (file)
  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
  */
 
-#undef GTK_DISABLE_DEPRECATED
 
 #include "config.h"
 #include <stdio.h>
 #include <string.h>
-#define GTK_ENABLE_BROKEN
 #include "gtk/gtk.h"
 
 typedef enum {
index fcc5b834c3fff5ec7862fd7cc5168adeeb1873f2..c4019cfc401cff505c2ff7f398e5b1089a1f644a 100644 (file)
@@ -25,8 +25,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#undef GTK_DISABLE_DEPRECATED
-
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>